import {fromJS} from "immutable"
import {GET_THEATER_DATA} from "@/components/main/index/actionCreator";

const defaultStore=fromJS({
   theaterData:[],
})
export default (state=defaultStore,action)=>{
    switch (action.type) {

        //剧院数据

    case GET_THEATER_DATA:
            // var theater= action.val.data.data.theatre_list;
            // console.log(theater);
            
            return state //.update("theaterData",val=>val=fromJS(theater))
            default:
    }
    return state;
}

